package cn.wzy.service;


import cn.wzy.dto.RoleMenuDTO;
import cn.wzy.dto.RolePermissionDTO;
import cn.wzy.pojo.Role;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * (Role)表服务接口
 *
 * @author makejava
 * @since 2022-12-08 13:53:13
 */
public interface RoleService extends IService<Role> {


    ResponseResult rolePage(GoPageVo goPageVo);

    ResponseResult deleteRole(Long id);

    ResponseResult saveRole(Role role);

    ResponseResult saveRolePermission(RolePermissionDTO rolePermissionDto);

    ResponseResult saveRoleMenu(RoleMenuDTO roleMenuDto);

    ResponseResult getAllRole();

}
